package com.ftz.examinationsystem.pojo;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 对应导入Excel表中的数据
 */
public class Student {
    @ExcelProperty( "学号")
    private String id;
    @ExcelProperty( "中文姓名")
    private String name;
    @ExcelProperty( "专业")
    private String zhuanye;
    @ExcelProperty("授课教师")
    private String teacher;
    @ExcelProperty( "课程代码")
    private String courseid;
    @ExcelProperty( "学科类别")
    private String xueke;
    @ExcelProperty("校区")
    private Integer xiaoqu;

    public Student() {
    }

    public Student(String id, String name, String zhuanye, String teacher, String courseid, String xueke, Integer xiaoqu) {
        this.id = id;
        this.name = name;
        this.zhuanye = zhuanye;
        this.teacher = teacher;
        this.courseid = courseid;
        this.xueke = xueke;
        this.xiaoqu = xiaoqu;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getZhuanye() {
        return zhuanye;
    }

    public void setZhuanye(String zhuanye) {
        this.zhuanye = zhuanye;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getCourseid() {
        return courseid;
    }

    public void setCourseid(String courseid) {
        this.courseid = courseid;
    }

    public String getXueke() {
        return xueke;
    }

    public void setXueke(String xueke) {
        this.xueke = xueke;
    }

    public Integer getXiaoqu() {
        return xiaoqu;
    }

    public void setXiaoqu(Integer xiaoqu) {
        this.xiaoqu = xiaoqu;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", zhuanye='" + zhuanye + '\'' +
                ", teacher='" + teacher + '\'' +
                ", courseid='" + courseid + '\'' +
                ", xueke='" + xueke + '\'' +
                ", xiaoqu=" + xiaoqu +
                '}';
    }
}
